.badge {
    font-size: 0.9em;
    padding: 0.35em 0.65em;
}

.badge-added {
    background-color: #28a745;
    color: white;
}

.badge-modified {
    background-color: #ffc107;
    color: #000;
}

.badge-deleted {
    background-color: #dc3545;
    color: white;
}

.method-list {
    max-height: 300px;
    overflow-y: auto;
}

.api-badge {
    font-size: 0.85em;
    padding: 0.3em 0.6em;
    margin: 0.1em;
}

.details-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.summary-card {
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
}

.summary-card .row > div {
    padding: 0.5rem;
}

.error-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 0.25rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.file-info {
    font-size: 0.9em;
    color: #666;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.export-buttons {
    margin-bottom: 1.5rem;
}

.method-list .card {
    border-left: 3px solid #007bff;
}

.method-list .card-title {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress {
    height: 5px;
    margin-top: 0.5rem;
}

/* 响应式布局优化 */
@media (max-width: 768px) {
    .summary-card .row > div {
        margin-bottom: 0.5rem;
    }
    
    .export-buttons {
        display: flex;
        gap: 0.5rem;
    }
    
    .export-buttons .btn {
        flex: 1;
    }
}
